﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class Pages_Default : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        List<UserItem> Users = LocationBasedApplicationDAL.GetAllUsers();
        
        foreach (UserItem aUser in Users)
        {
           ListBox1.Items.Add(
               new ListItem(
                   aUser.UserName + " - " + 
                   (ProfileManagement.DoCompare(Profile,Profile.GetProfile(aUser.UserName))).ToString()));
        }
    }

    protected void Page_PreRender(object sender, EventArgs e)
    {

    }
}